home *** CD-ROM | disk | FTP | other *** search
/ 100 Plus Great Games 2 / 100PLUSV2.BIN / games / SlightOHand.dxr / Internal_5_play ball.ls < prev    next >
Encoding:
Text File  |  2002-01-31  |  327 b   |  18 lines

  1. property pButton, spriteNum
  2. global fuctUp, gBalls, gProceed
  3.  
  4. on beginSprite me
  5.   pButton = sprite(spriteNum)
  6.   pButton.visible = 1
  7.   fuctUp = pButton
  8. end
  9.  
  10. on mouseDown me
  11.   if gProceed then
  12.     puppetSound(3, member("begin"))
  13.     sprite(gBalls[gBalls.count]).putIntoPlay()
  14.     gProceed = 0
  15.     pButton.visible = 0
  16.   end if
  17. end
  18.